/*
 * @Description: 
 * @Date: 2025-07-01 10:00:41
 * @LastEditTime: 2025-08-08 11:51:50
 */
const getters = {
  sidebar: (state) => state.app.sidebar,
  language: (state) => state.app.language,
  size: (state) => state.app.size,
  device: (state) => state.app.device,
  visitedViews: (state) => state.tagsView.visitedViews,
  cachedViews: (state) => state.tagsView.cachedViews,
  token: (state) => state.user.token,
  avatar: (state) => state.user.avatar,
  name: (state) => state.user.name,
  introduction: (state) => state.user.introduction,
  roles: (state) => state.user.roles,
  rolesId: (state) => state.user.rolesId,
  permission_routes: (state) => state.permission.routes,
  roleRoutes: (state) => state.permission.roleRoutes,
  addRoutes: (state) => state.permission.addRoutes,
  errorLogs: (state) => state.errorLog.logs,
  userid: (state) => state.user.userid,
  dictsList: (state) => state.dict.dictsList,
  dictMap: (state) => state.dict.dictMap,
  deptId: (state) => state.user.deptId,
  deptName:(state) => state.user.deptName,
  locationCode:(state) => state.user.locationCode,
};
export default getters;
